package com.hg.chapter1.aop.annotation;

import org.springframework.stereotype.Service;

@Service
public class MyService {
    @Action(name = "拦截add操作")
    public void add() {
        System.out.println("新增一条数据");
    }
}
